-
Notifications
You must be signed in to change notification settings - Fork 7.9k
ext/standard: Refactor exec.c public APIs to use zend_string pointers #14353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… of char* This saves on an expensive strlen() computation
… of char* This saves on an expensive strlen() computation
LGTM. Thanks!
…On Wed, May 29, 2024 at 2:22 AM Gina Peter Banyard ***@***.***> wrote:
@Girgias <https://github.com/Girgias> requested your review on: #14353
<#14353> ext/standard: Refactor exec.c
public APIs to use zend_string pointers as a code owner.
—
Reply to this email directly, view it on GitHub
<#14353 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIESXYBTIM6U5TAQO2WBHLZEUNVDAVCNFSM6AAAAABIN4GMI6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSHE3DIMZXGMZTONY>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
devnexen
approved these changes
May 29, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MSTM
DanielEScherzer
added a commit
to DanielEScherzer/php-src
that referenced
this pull request
Sep 19, 2024
DanielEScherzer
added a commit
to DanielEScherzer/php-src
that referenced
this pull request
Oct 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This removes the need to call
strlen()
when we already know the length of the strings.Convert
E_ERROR
s to throwValueError
s instead for a graceful shutdown where destructors are run instead of just bailing.